#!/bin/bash

# file: cm-users-scripts.yaml
cat >&1 <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: users-scripts
  namespace: default
  labels:
    app: users-scripts
data:
  init.sh: |
EOF
sed 's/^/    /' init.sh

cat >&1 <<EOF
  post.sh: |
EOF
sed 's/^/    /' post.sh
